<template>
  <div>
    <avue-crud
      ref="crud"
      style="width:100%"
      :data="loadData"
      :option="tableOption"
      :table-loading="loading"
    ></avue-crud>
  </div>
</template>

<script>
import { tableOption } from "./all_list.config.js";
import { fuwuList } from '@/api/shop/order/housekeeping.js'
export default {
  data() {
    return {
      tableOption: tableOption,
      loading: false,
      loadData: []
    };
  },
  methods: {
    getList(item) {
       fuwuList(Object.assign({merchantId:item.merchantId}, {status:'01'})).then(val => {
                let data = val.data.data
                this.loadData = data.records
                console.log(7878,val)
            })
    }
  }
};
</script>